package com.mjduan.project.src;

/**
 * Hans 2017-10-14 01:10
 */
public class Order {
    private final int orderNumber;
    private final Product product;

    public Order(int orderNumber, Product product) {
        this.orderNumber = orderNumber;
        this.product = product;
    }

    void processOrder(){
        System.out.println("Ordering "+product+" for order number "+orderNumber);
    }
}
